package com.itheima.service;
import com.itheima.entity.Preject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.jo.ExcelStatisticsJo;
import com.itheima.pojo.jo.ProjectStatisticsJo;
import com.itheima.pojo.po.ProjectStatisticsPo;
import com.itheima.query.ProjectPageQuery;
import com.itheima.result.PageResult;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author guanhuaer
 * @since 2024-09-05
 */
public interface PrejectService extends IService<Preject> {

    void projectAdd(Preject preject);

    List<Preject> projectPage(ProjectPageQuery projectPageQuery);

    void Delects(String string);

    PageResult pageQuery(ProjectPageQuery query);


    void projectEdit(Preject preject);
    /**
     * 统计指定时间区间内用户统计接口
     * @param projectJo
     * @return
     */
    ProjectStatisticsPo getProjectStatistics(ProjectStatisticsJo projectJo);

    void exprotBusinsData(ExcelStatisticsJo projectJo, HttpServletResponse response) throws IOException;

    //批量添加
    void projectBatchAdd(List<Preject> prejects);
}
